{#{% extends "mainPage.html" %}#}
{% load static %}
{% block thirdstyle %}
{#    <script src="{% static 'js/mdOfOperation.js' %}"></script>#}
{#    <script src="{% static 'js/uploadImg.js' %}"></script>#}
    <link rel='stylesheet' href='{% static 'luckysheet/plugins/css/pluginsCss.css' %}' />
	<link rel='stylesheet' href='{% static 'luckysheet/plugins/plugins.css' %}' />
	<link rel='stylesheet' href='{% static 'luckysheet/css/luckysheet.css' %}' />
	<link rel='stylesheet' href='{% static 'luckysheet/assets/iconfont/iconfont.css' %}' />
	<script src="{% static 'luckysheet/plugins/js/plugin.js' %}"></script>
	<script src="{% static 'luckysheet/luckysheet.umd.js' %}"></script>
    <script>
        $(function () {
            //配置项
            var options = {
                container: 'luckysheet', //luckysheet为容器id
                title: 'Luckysheet Demo', // 设定表格名称
                lang: 'zh', // 设定表格语言
            }
            luckysheet.create(options)
        })
        $(function () {
            $('#save_sheet').click(function (){
                var sheet = luckysheet.getAllSheets();
                console.log(sheet);
            })
            }
        )
    </script>
{% endblock %}

{% block main_body %}
<div id="main_body">
    <input class="" type="button" id="save_sheet" value="保存">

    <div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width: 100%;height:100%;"></div>
</div>
{% endblock %}


